package com.doubi.model.sys;

import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 字典父级
 *
 * @author MrDoubi
 * @since 2019-11-10
 */
@Data
@TableName("t_sys_dic")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TSysDic extends Model<TSysDic> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    @TableField("parent_name")

    private String parentName;


    @TableField("parent_code")

    private String parentCode;


    @TableField("status")

    private Integer status;


    /**
     * 1.系统权限，2.可修改，3.可增删改
     */
    @TableField("authority")

    private Integer authority;


    /**
     * 创建者
     */
    @TableField("create_by")

    private String createBy;


    /**
     * 创建时间
     */
    @TableField("create_time")

    private Date createTime;


    /**
     * 更新者
     */
    @TableField("update_by")

    private String updateBy;


    /**
     * 更新时间
     */
    @TableField("update_time")

    private Date updateTime;


    /**
     * 备注
     */
    @TableField("remark")

    private String remark;


}